package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;

/**
 * @author YDW
 * projectName:shop-manage
 * time:2022/5/19 11:16
 * description:
 */
public interface DtsGoodsService {
    Integer getTotal();

    IPage<DtsGoods> queryPage(Integer page, Integer limit, String sort, String order, String goodsSn, String name, List<Integer> brandIds);

    GoodsAllinone queryDetailById(Integer id);

    void update(GoodsAllinone goodsAllinone);

    Object delete(DtsGoods goods);

    void create(GoodsAllinone goodsAllinone);
}
